#ifndef _ARX2000
	#define acedGetCfg ads_agetcfg
	#define  acedGetEnv ads_agetenv
	#define  acedAlert ads_alert
	#define  acutAngle ads_angle
	#define  acdbAngToF ads_angtof
	#define  acdbAngToS ads_angtos
	#define  acedArxLoad ads_arxload
	#define  acedArxLoaded ads_arxloaded
	#define acedArxUnload ads_arxunload
	#define acedSetCfg ads_asetcfg
	#define acedSetEnv ads_asetenv
	#define acutBuildList ads_buildlist
	#define  acedCmd ads_cmd
	#define acedCommand ads_command
	#define acutCvUnit ads_cvunit
	#define  acedDefun ads_defun
	#define acdbDictAdd ads_dictadd
	#define acdbDictNext ads_dictnext
	#define acdbDictRemove ads_dictremove
	#define acdbDictRename ads_dictrename
	#define acdbDictSearch ads_dictsearch
	#define acutDistance ads_distance
	#define acdbDisToF ads_distof
	#define acedDragGen ads_draggen
	#define acdbEntDel ads_entdel
	#define acdbEntGet ads_entget
	#define acdbEntGetX ads_entgetx
	#define acdbEntLast ads_entlast
	#define acdbEntMake ads_entmake
	#define acdbEntMakeX ads_entmakex
	#define  acdbEntMod ads_entmod
	#define  acdbEntNext ads_entnext
	#define acedEntSel ads_entsel
	#define  acdbEntUpd ads_entupd
	#define acdbFail ads_fail
	#define acedFindFile ads_findfile
	#define acedFNSplit ads_fnsplit
	#define acedGetAngle ads_getangle
	#define acedGetAppName ads_getappname
	#define acedGetArgs ads_getargs
	#define  acedGetCName ads_getcname
	#define  acedGetCorner ads_getcorner
	#define  acedGetDist ads_getdist
	#define  acedGetFileD ads_getfiled
	#define  acedGetFunCode ads_getfuncode
	#define  acedGetInput ads_getinput
	#define  acedGetInt ads_getint
	#define  acedGetKword ads_getkword
	#define acedGetOrient ads_getorient
	#define  acedGetPoint ads_getpoint
	#define acedGetReal ads_getreal
	#define acedGetString ads_getstring
	#define acedGetStringB ads_getstringb
	#define  acedGetSym ads_getsym
	#define acedGetVar ads_getvar
	#define acedGraphScr ads_graphscr
	#define acedGrDraw ads_grdraw
	#define acedGrRead ads_grread
	#define acedGrText ads_grtext
	#define acedGrVecs ads_grvecs
	#define acdbHandEnt ads_handent
	#define acedHelp ads_help
	#define acedInitGet ads_initget
	#define  acdbInters ads_inters
	#define  acedInvoke ads_invoke
	#define acutIsAlNum ads_isalnum
	#define acutIsAlpha ads_isalpha
	#define acutIsCntrl ads_iscntrl
	#define  acutIsDigit ads_isdigit
	#define acutIsGraph ads_isgraph
	#define acutIsLower ads_islower
	#define acutIsPrint ads_isprint
	#define acutIsPunct ads_ispunct
	#define acutIsSpace ads_isspace
	#define acutIsUpper ads_isupper
	#define acutIsXDigit ads_isxdigit
	#define acedMenuCmd ads_menucmd
	#define acdbNameClear ads_name_clear
	#define acdbNameEqual ads_name_equal
	#define acdbNameNil ads_name_nil
	#define acdbNameSet ads_name_set
	#define acdbNamedObjDict ads_namedobjdict
	#define acedNEntSel ads_nentsel
	#define acedNEntSelP ads_nentselp
	#define acutNewRb ads_newrb
	#define acedOsnap ads_osnap
	#define acdbPointSet ads_point_set
	#define acutPolar ads_polar
	#define acutPrintf ads_printf
	#define acedPrompt ads_prompt
	#define acedPutSym ads_putsym
	#define acedRedraw ads_redraw
	#define acdbRegApp ads_regapp
	#define  acedRegFunc ads_regfunc
	#define acutRelRb ads_relrb
	#define acedRetInt ads_retint
	#define acedRetList ads_retlist
	#define acedRetName ads_retname
	#define  acedRetNil ads_retnil
	#define  acedRetPoint ads_retpoint
	#define acedRetReal ads_retreal
	#define acedRetStr ads_retstr
	#define acedRetT ads_rett
	#define acedRetVal ads_retval
	#define acedRetVoid ads_retvoid
	#define acdbRToS ads_rtos
	#define acedSetFunHelp ads_setfunhelp
	#define acedSetVar ads_setvar
	#define acedSetView ads_setview
	#define acdbSNValid ads_snvalid
	#define  acedSSAdd ads_ssadd
	#define acedSSDel ads_ssdel
	#define acedSSFree ads_ssfree
	#define acedSSGet ads_ssget
	#define acedSSGetFirst ads_ssgetfirst
	#define acedSSGetKwordCallbackPtr ads_ssGetKwordCallbackPtr
	#define acedSSGetOtherCallbackPtr ads_ssGetOtherCallbackPtr
	#define acedSSLength ads_sslength
	#define acedSSMemb ads_ssmemb
	#define acedSSName ads_ssname
	#define acedSSNameX ads_ssnamex
	#define acedSSSetFirst ads_sssetfirst
	#define acedSSSetKwordCallbackPtr ads_ssSetKwordCallbackPtr
	#define acedSSSetOtherCallbackPtr ads_ssSetOtherCallbackPtr
	#define acedTablet ads_tablet
	#define acdbTblNext ads_tblnext
	#define acdbTblObjName ads_tblobjname
	#define	acdbTblSearch ads_tblsearch
	#define	acedTextBox ads_textbox
	#define acedTextPage ads_textpage
	#define acedTextScr ads_textscr
	#define acutToLower ads_tolower
	#define acutToUpper ads_toupper
	#define acedTrans ads_trans
	#define acedUndef ads_undef
	#define acedUpdate ads_update
	#define acedUsrBrk ads_usrbrk
	#define acedVports ads_vports
	#define acutWcMatch ads_wcmatch
	#define	acdbXdRoom ads_xdroom
	#define	acdbXdSize ads_xdsize
	#define acedXformSS ads_xformss

	#define acedSetCurrentUCS acdbSetCurrentUCS
    #define acedGetCurrentUCS(curUCS)\
	{\
		AcDbDatabase* cur=acdbCurDwg();\
		AcGeVector3d x=cur->ucsxdir();\
		AcGeVector3d y=cur->ucsydir();\
		AcGePoint3d org=cur->ucsorg();\
		curUCS.setCoordSystem(org,x,y,x.crossProduct(y));\
	}
	
	#define IueTablePtr  IueTable14Ptr
	#define UETABLEPROGID "Tablelist14.ueTable14"
#else 
    #define UETABLEPROGID "Tablelist.ueTable"
#endif

//#define UETABLEPROGID "chart.table"
//#define IueTablePtr  ItablePtr
